package com.dh.project.service.impl;

import com.baomidou.framework.service.impl.SuperServiceImpl;
import com.dh.project.mapper.SuggestMapper;
import com.dh.project.model.Suggest;
import com.dh.project.service.SuggestService;
import com.dh.project.view.SuggestListView;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * Created by admin on 2017/5/31.
 */
@Service
public class SuggestServiceImpl extends SuperServiceImpl<SuggestMapper,Suggest> implements SuggestService {

    @Autowired
    private SuggestMapper suggestMapper;

    @Override
    public List<SuggestListView> selectSuggestList(Map map) {
        return suggestMapper.selectSuggestList(map);
    }
}
